Yay_Currency\WooCommerceCurrency D

Total Complexity 329
Dependencies 5
Dependents 15
Total lines 1,613
Lines of code 1,364
Logical lines of code 721
Comment lines 29
Methods 69
Properties 5

Methods 69

Method Rating Maintainability Complexity Lines of code
change_shipping_cost()
C
34 29 80
custom_raw_price()
C
38 25 65
change_format_order_item_totals()
B
36 18 79
add_woocommerce_filters()
A
35 12 75
get_formatted_order_subtotal()
A
40 13 59
get_formatted_order_shipping()
A
42 12 50
recalculate_mini_cart()
A
44 11 46
custom_subscription_price_string()
A
46 11 33
doHooks()
A
44 8 45
get_formatted_order_total()
A
50 8 27
change_coupon_amount()
A
52 8 23
calculate_price_by_currency()
S
49 7 30
change_format_order_line_subtotal()
S
46 6 39
custom_stripe_request_total_amount()
S
47 6 38
custom_cart_item_subtotal()
S
55 7 18
calculate_price_by_currency_html()
S
48 5 33
handle_woocommerce_paypal_payments_plugin_error()
S
64 7 7
conditional_payment_gateways()
S
58 6 15
custom_checkout_product_subtotal()
S
50 5 29
evaluate_cost()
S
49 5 29
get_formatted_order_discount()
S
52 5 23
format_currency_position()
S
58 5 18
custom_discount_coupon()
S
49 4 31
custom_mini_cart_price()
S
65 6 9
reverse_gift_card_amount_before_add_to_cart()
S
60 5 14
custom_checkout_order_total()
S
51 4 28
custom_checkout_order_subtotal()
S
51 4 28
custom_shipping_fee()
S
55 4 20
custom_order_meta_fee()
S
56 4 17
get_currency_by_ID()
S
51 3 26
custom_product_subtotal()
S
58 3 16
custom_cart_subtotal()
S
58 3 16
custom_cart_total()
S
58 3 16
get_current_and_default_currency()
S
58 3 16
custom_cart_item_addon_data()
S
58 3 15
recalculate_cart_fees()
S
64 4 10
custom_price_value_of_points()
S
62 3 12
add_notice_checkout_payment_methods()
S
58 3 12
get_symbol_by_currency()
S
68 3 7
custom_request_paypal()
S
68 3 7
reverse_calculate_price_by_currency()
S
62 3 10
custom_free_shipping_min_amount()
S
68 3 7
add_order_currency_meta()
S
63 3 10
filter_payment_methods_by_currency()
S
60 2 15
round_line_tax()
S
69 3 6
custom_total_tax()
S
61 2 12
format_price()
S
62 2 12
format_variation_price_discount_fixed_conversion()
S
66 2 9
custom_product_addons_option_price()
S
70 2 6
custom_rewards_discount_max_discount()
S
67 2 8
getInstance()
S
70 2 7
custom_variation_price_hash()
S
70 2 6
get_apply_currency_format_info()
S
62 1 11
set_cookies()
S
69 1 6
calculate_price_by_currency_cookie()
S
70 1 6
__construct()
S
98 1 1
get_currencies_post_type()
S
74 1 5
show_notice_notification()
S
72 1 7
round_at_subtotal()
S
79 1 3
get_values_for_total()
S
66 1 9
custom_subscription_sign_up_fee()
S
75 1 4
custom_table_rate_shipping_plugin_row_base_price()
S
75 1 4
custom_gift_cards_price_in_product_page()
S
67 1 9
set_conversion_points_rate()
S
73 1 5
set_rewards_percentual_conversion_rate()
S
73 1 5
set_rewards_conversion_rate()
S
73 1 5
prevent_convert_points_by_price()
S
76 1 4
wapf_recalculate_price_option()
S
77 1 4
get_cart_subtotal_for_order()
S
70 1 7